home *** CD-ROM | disk | FTP | other *** search
- Quarterdeck Technical Note
- by Daniel Travison
-
- TERMXDI.COM debug patch
-
- DOS 3.1 and later implement a new interrupt called the Multiplex
- Interrupt as a generalized interface between two processes. Since DOS 2.x
- did not support this interrupt programs that try to use it can have
- unpredictable results. The following documentation describes how to create
- a program that will install itself to allow other programs to make use of
- this interrupt.
-
- The DEBUG script listed below will be used to create TERMXDI.COM. It is
- designed for DESQview 2.26 running on version 2.X of DOS. You should
- create an ASCII file containing the lines marked off by TOP and BOTTOM.
- You should note that there is a blank line that must be included. After
- you have created the ASCII file, use the following command from the DOS
- prompt to create TERMXDI.COM
-
- debug <termxdi.pat
-
- This assumes that the file you created is TERMXDI.PAT. You may use
- another filename if you desire. Debug will display some messages on the
- screen and exit leaving you at the DOS prompt. You will find the file
- TERMXDI.COM in the current directory. Copy this file to your DESQview
- directory. Then edit the DV.BAT file in the root directory to run this
- program just before starting DESQview. Your batch file might look something
- like this:
-
- break off
- cd \dv
- termxdi
- dv %1 %2 %3 %4 %5
- cd \
-
- You may also place TERMXDI in your AUTOEXEC.BAT file.
-
- -------------------------- TOP of TERMXDI.PAT (do not include this line)
- a 100
- JMP 0103
- IRET
- MOV AX,352F
- INT 21
- MOV AX,ES
- OR AX,BX
- JNZ 0122
- MOV DX,0102
- MOV AX,252F
- INT 21
- MOV DX,0112
- MOV CL,04
- SHR DX,CL
- MOV AX,3100
- INT 21
- MOV AX,4C00
- INT 21
- <--- this blank line MUST be here
- rcx
- 27
- n termxdi.com
- w
- q
- --------------------------- BOTTOM (do not include this line)
-
-
-
- * * * E N D O F F I L E * * *
-